package com.ktjy.web.service;

import com.ktjy.web.entity.BannerItem;

import java.util.List;

public interface BannerService {
    List<BannerItem> selectAll();

    public BannerItem selectById(int id);

    public  int insert(BannerItem bannerItem);

    public  int update(BannerItem bannerItem);

    public int deleteById(int id);

    public List<BannerItem> page(int type, int pageNo, int pageSize);

    //查询全部数据数
    public  int count();
}
